/*
\ * BSM6.0
 *
 * Copyright 2012-2013 (C) SINODATA CO., LTD. All Rights Reserved.
 */
package com.sinodata.bsm.common.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * <p>
 * Description: 
 * </p>
 *
 * @author wangyazhou
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2013-10-10 下午1:19:44          wangyazhou        1.0         To create
 * </p>
 *
 * @since 
 * @see     
 */
@Entity
@Table(name = "nw_device_def")
public class NwDeviceDef implements java.io.Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private String icon;
    private Long catagory;
    private String vendor;

    @Id
    @Column(name = "ID", unique = true, nullable = false, precision = 9, scale = 0)
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Column(name = "NAME", length = 128)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Column(name = "icon", length = 32)
    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    @Column(name = "cat_id", precision = 9, scale = 0)
    public Long getCatagory() {
        return catagory;
    }

    public void setCatagory(Long catagory) {
        this.catagory = catagory;
    }

    @Column(name = "vendor", length = 64)
    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

}
